package com.hontlong.toy.parrot;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang.builder.ToStringBuilder;

public class Ask {
	private int id;
	private String askTitle;
	private String ask;
	private String type;
	private final List<String> answers = new ArrayList<String>();

	public List<String> getAnswers() {
		return this.answers;
	}

	public String getAsk() {
		return this.ask;
	}

	public String getAskTitle() {
		return this.askTitle;
	}

	public int getId() {
		return this.id;
	}

	public String getType() {
		return this.type;
	}

	public void setAsk(final String ask) {
		this.ask = ask;
	}

	public void setAskTitle(final String askTitle) {
		this.askTitle = askTitle;
	}

	public void setId(final int id) {
		this.id = id;
	}

	public void setType(final String type) {
		this.type = type;
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return new ToStringBuilder(this).append("id", this.id).append(
				"askTitle", this.askTitle).append("ask", this.ask).append(
				"answers", this.answers).toString();
	}
}
